#include <iostream>
using namespace std;
int main ()
{
    int vector[10], i, j, h, k, aux;

    i=0;
    j=9;
    h=0;
    k=0;

    while (h < 10)
    {
        cout << "Ingrese un numero" << endl;
        cin  >> vector[h];
        h++;
    }

    while (i < 5)
    {
        aux = vector [i];
        vector[i]=vector[j];
        vector[j]=aux;
        i++;
        j--;
    }

    while (k < 10)
    {
        cout << vector[k]<< endl;
        k++;
    }
}
